home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
trueSpace 7.6
/
tS761B8Std.exe
/
{app}
/
Scripts
/
MaterialEditor
/
Bricks
/
Texturing
/
tex1D.HLSL.Brick.xml
next >
Wrap
Extensible Markup Language
|
2008-06-10
|
790b
|
13 lines
<?xml version="1.0" encoding="utf-8" ?>
<ME_BRICK GUID="{83D14C35-F95E-4992-A2AD-AD53B7B7BC00}" Name="RtTex1D" GUIName="Tex1D" Description="Sample the 1D texture at given texture coordinate [tex1D]">
<ME_BRICK_INPUTPARAM GUID="{E54D93BF-AF1B-4C76-8326-B0594B7925F0}" Name="Sampler1D" Type="RtSampler1D"/>
<ME_BRICK_INPUTPARAM GUID="{8BBB6366-9CBA-4DF2-B2FF-53EE750C96EB}" Name="sCoordinate" Type="RtFloat"/>
<ME_BRICK_OUTPUTPARAM GUID="{EB7C2338-668E-4AEC-8E9C-9A14719F2E6A}" Name="vTextureColor4" Type="RtFloat4"/>
<ME_BRICK_CODE><![CDATA[
void RtTex1D(in RtSampler1D Sampler1D, in RtFloat sCoordinate, out RtFloat4 vTextureColor4)
{
vTextureColor4 = rtx_Tex1D(Sampler1D, sCoordinate);
}
]]></ME_BRICK_CODE>
</ME_BRICK>